s = {1, 2, 3, 'a'}
t = {2, 4, 'b'}
print(s - t)
print(s & t)
print(s ^ t)
print(s | t)